package com.alinesno.cloud.gateway.business.filter;

import java.net.InetSocketAddress;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alinesno.cloud.gateway.core.annotation.GatewayFilter;
import com.alinesno.cloud.gateway.core.exception.GatewayException;
import com.alinesno.cloud.gateway.core.filter.Filter;

/**
 * Socket过滤器
 * @author WeiXiaoJin
 * @since 2020年1月30日 下午19:45:08
 */
@GatewayFilter
public class GatewayAdminSocketFilter implements Filter {

	private static final Logger log = LoggerFactory.getLogger(GatewayAdminSocketFilter.class) ;
	
	@Override
	public void doFilter(InetSocketAddress insocket, Map<String, Object> params, String gatewayTpe) throws GatewayException {
		log.debug("======>>>>>>>>>>>>>> socket过滤器:{}" , gatewayTpe);
	}

}
